/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Clases;

import Persistencia.Convenio;
import Persistencia.Estudiante;
import Persistencia.InformeFinalPracticaEmpresarial;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.annotation.PostConstruct;
import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ManagedProperty;
import javax.faces.bean.ViewScoped;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import negocio.ConvenioInterface;
import negocio.EstudianteInterface;
import negocio.InformeFinalPracticaEmpresarialInterface;

/**
 *
 * @author BATAQUERO
 */
@ManagedBean
@ViewScoped
public class FInformeFinalPracticaEmp implements Formato{
    private InformeFinalPracticaEmpresarial informeFinalPracticaEmpresarial = new InformeFinalPracticaEmpresarial();
    @EJB
    private InformeFinalPracticaEmpresarialInterface informeFinalPracticaEmpresarialInterface;
    private EstudianteInterface estudianteInterface;
    private Convenio convenio;
    @ManagedProperty(value = "#{sessionBean}")
    private SessionBean sessionBean;
    private Estudiante estudiante;
    
    public FInformeFinalPracticaEmp(){
    }
    
    @PostConstruct
    public void inicialiarVariables(){
            estudiante = new Estudiante();
            estudiante = sessionBean.getUsuarioSession().getEstudiante();
            //convenio = new Convenio();
    }
        @Override
        public void ConsultarFormato(){
            throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.        
        }

        @Override
        public void DiligenciarFormato() {
            throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
        }

        @Override
        public void AprobarFormato() {
            throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
        }

        @Override
        public void EditarFormato() {
            throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
        }

    public InformeFinalPracticaEmpresarial getInformeFinalPracticaEmpresarial() {
        return informeFinalPracticaEmpresarial;
    }

    public void setInformeFinalPracticaEmpresarial(InformeFinalPracticaEmpresarial informeFinalPracticaEmpresarial) {
        this.informeFinalPracticaEmpresarial = informeFinalPracticaEmpresarial;
    }

    public SessionBean getSessionBean() {
        return sessionBean;
    }

    public void setSessionBean(SessionBean sessionBean) {
        this.sessionBean = sessionBean;
    }

    public Estudiante getEstudiante() {
        return estudiante;
    }

    public void setEstudiante(Estudiante estudiante) {
        this.estudiante = estudiante;
    }
    
    
        
        
        
}
